<?php echo $this->headLink()->prependStylesheet('/resources/js/css/thickbox.css'); ?>
<?php echo $this->headScript()->appendFile('/resources/js/thickbox.js'); ?>
 <h1>Consultation des axes</h1>
 
<table class="table table-striped" style="width: 40%;" align="center" >
<thead>
   
    <?php
    // Render each the title of each post for the current page in a list-item
   foreach ($this->paginator as $item) {     
       foreach ($item as $key => $value)  { ?>
        
        <th style="text-align: center;"><?php echo $this->header["$key"]; ?></th>
        <?php } break; } ?> 
        
        
  </thead>
  <tbody >
  <?php 
   $i=0;
  foreach ($this->paginator as $item) {
       echo ' <tr>' ; 
     
       foreach ($item as $key => $value) 
       {
        
        echo '<td style="text-align: center;" >'. $value .'</td>' ;
       } 
  
   
   
       ?>

       <?php 
     echo '</tr>';
     $i++; 
   }
  ?>
 
 </thed>
</table>
<br>
</br>
 <div class="control-group">
<?php echo $this->paginator; ?></div>